package com.one.exception;

/**
 * @ClassName: MyExceptionEnum
 * @Auther: yph
 * @Date: 2022/1/14 10:20
 * @Description: 自定义异常枚举
 */
public class MyExceptionEnum {

    /**
     * 异常码
     */
    private Integer errCode;

    /**
     * 异常信息
     */
    private String errMsg;

    MyExceptionEnum() {
    }

    MyExceptionEnum(Integer errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

    public Integer getErrCode() {
        return errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }
}
